<!DOCTYPE html>
<head>
  <meta charset="utf-8">
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
  <title>{{title}}</title>
  <meta name="description" content="{{description}}">
  <meta name="keywords" content="{{keywords}}" />
  <meta name="viewport" content="width=device-width, initial-scale=1">
  
  <link rel="stylesheet" href="/styles/pokeball.css">
  <link rel="stylesheet" href="/styles/eevee-layout.css">
  {{#if _DESIGN_MODE_}}
    <link rel="stylesheet" href="/fonts/iconfont.css" />
    <link rel="stylesheet" href="/styles/eevee-editing.css">
    <link rel="stylesheet" href="/styles/eevee-components-vendor.css">
  {{/if}}
  <link rel="stylesheet" href="/styles/react-app.css" />
</head>
<body>
     {{{block "body"}}}
</body>
{{#unless _DESIGN_MODE_}}
<script src="/scripts/dragon-vendor.js"></script>
<script src="/scripts/react-app.js"></script>
<script>
  ~function(){
    var divs = Array.prototype.slice.call(document.getElementsByTagName('div'));
    for(var i=0,len=divs.length;i<len;i++){
      if(divs[i].className.indexOf('eve-react-page-part')>-1){
        var renderId = divs[i].attributes['data-react-render-id'].value;
        window['_react_render_' + renderId + '_']();
        var render = require('react-dom').render;
        var React = require('react');
        render(React.createElement(require('eevee/_react_render_/' + renderId)),divs[i]);
      }
    }
    var images = document.getElementsByTagName('img');
    for(var j=0,len=images.length;j<len;j++){
      if(images[j].attributes['data-original']){
        images[j].src = images[j].attributes['data-original'].value;
      }
    }
  }();
</script>
{{/unless}}
</html>